package chapter9.section9;

class Student {
	String name;
	int age;
	String gender;

	public Student(String name, int age) {
		this.name = name;
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public String getGender() {
		return gender;
	}

	public int getAge() {
		return age;
	}

	public String toString() {
		return "姓名：" + name + ",年龄：" + age;
	}
}